﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace University.Workshop.Model
{
    [Table("Patient")]
    public class Patient
    {
        public string PatientId { get; set; }
        public string FirstName { get; set; }
        public string FatherLastName { get; set; }
        public string MotherLastName { get; set; }
        public string LandPhone { get; set; }
        public string CellPhone { get; set; }
        public string Address { get; set; }
        public string GroupMember { get; set; }


        public Patient(string id, string name, string lastName, string motherName, string phone, string cellPhone, string address, string groupMember)
        {
            this.PatientId = id;
            this.FirstName = name;
            this.FatherLastName = lastName;
            this.MotherLastName = motherName;
            this.LandPhone = phone;
            this.CellPhone = cellPhone;
            this.Address = address;
            this.GroupMember = groupMember;

        }

        public Patient()
        { }
    }
}
